package com.xmx.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * overview：
 * author:
 * 2023年05月04日 15:00:
 */
public class Roles {
    private Integer rid;
    private String rname;//真实姓名
    private String rdesc;//身份描述，例如系统管理员，销售人员，等

    private List<CrmUsers> crmUsers = new ArrayList<>();

    public List<CrmUsers> getCrmUsers() {
        return crmUsers;
    }

    public void setCrmUsers(List<CrmUsers> crmUsers) {
        this.crmUsers = crmUsers;
    }

    @Override
    public String toString() {
        return "Roles{" +
                "rid=" + rid +
                ", rname='" + rname + '\'' +
                ", rdesc='" + rdesc + '\'' +
                '}';
    }

    public Roles() {
    }

    public Roles(Integer rid, String rname, String rdesc) {
        this.rid = rid;
        this.rname = rname;
        this.rdesc = rdesc;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public String getRdesc() {
        return rdesc;
    }

    public void setRdesc(String rdesc) {
        this.rdesc = rdesc;
    }
}
